<?php

/*
 * @author Ebrain Cedeno <ebraincedeno@gmail.com>
 */
class product extends ActiveRecord{
    
    public function __construct($name = __CLASS__) {
        parent::__construct($name);
        $this->labels=array("code"=>"Codigo",
                            "short_description"=>"Nombre",
                            "long_description"=>"Descripcion",
                            "id_category"=>"Categoria");
    }
    
    public function prueba(){
        print "hola";
    }
    
    public static function model(){
        return new self;
    }
    
}
?>
